﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;

namespace TelerikedIn.WebApp.ImageUtils
{
    public static class ImageUtil
    {
        public static byte[] SizdeDownImage(byte[] imageBytes)
        {
            var imageStream = new MemoryStream(imageBytes);
            var image = System.Drawing.Bitmap.FromStream(imageStream);

            var xSize = image.PhysicalDimension.Width;
            var ySize = image.PhysicalDimension.Height;

            if (xSize > ySize)
            {
                
            }
        }
    }
}